package com.zan.springcloud.service;

import org.springframework.stereotype.Component;

/**
 * @Author Zan
 * @Create 2023/12/22 19:33
 * @Description :
 */
@Component
public class PaymentFallbackService implements PaymentHystrixService{

    @Override
    public String paymentInfo_OK(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_OK, /(ㄒoㄒ)/~~";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "-----PaymentFallbackService fall back-paymentInfo_TimeOut, /(ㄒoㄒ)/~~";
    }
}
